package com.ruoyi.worker.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @ClassName: UserDayAttendance
 * @Description:
 * @Author: 刘松山
 * @Date: 2021/10/18 14:25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserDayAttendance extends BaseEntity {
    private Long id;
    private long userId;
    private long postId;
    private long groupId;

    private long parentId;
    @Excel(name = "岗位", width = 15)
    private String postName;
    @Excel(name = "姓名", width = 15)
    private String userName;
    @Excel(name = "身份证号", width = 25)
    private String idCard;

    private String dateTime;

    private String saveTime;

    //迟到次数
    @Excel(name = "普通迟到次数", width = 20)
    private int late;

    @Excel(name = "严重迟到次数", width = 20)
    private int seriouslyLate;

    @Excel(name = "一般迟到次数", width = 20)
    private int generallyLate;
    @Excel(name = "早退次数", width = 20)
    private int leaveEarly;
    @Excel(name = "旷工次数", width = 20)
    private int absenteeism;

    @Excel(name = "应打卡次数", width = 20)
    private int mustNum;
    @Excel(name = "正常打卡", width = 20)
    private int normalNum;
    @Excel(name = "异常次数", width = 20)
    private int abnormalNum;
    //第一次上班打卡情况
    private String firstBeginTime;
    //第一次下班打卡情况
    private String firstEndTime;
    //第二次上班打卡情况
    private String secondBeginTime;
    // 第二次下班打卡情况
    private String secondEndTime;
    //第三次上班打卡情况
    private String threeBeginTime;
    //第三次下班打卡情况
    private String threeEndTime;
    //第四次上班打卡情况
    private String fourBeginTime;
    //第四次下班打卡情况
    private String fourEndTime;

    //上班

    private String firstStatus;
    private String secondStatus;
    private String threeStatus;
    private String fourStatus;

    //下班
    private String fiveStatus;
    private String sixStatus;
    private String sevenStatus;
    private String eightStatus;

    private String name;

    //当天实际是否出勤 1 出勤 0 未出勤
    private int isCome;
    //是否异常 1 是 0 否
    private int isAbnormal;
    //当天是否应出勤 1 出勤 0 休息
    private int isAttendance;

    private int absenteeism1;
    private int absenteeism2;
    private int absenteeism3;
    private int absenteeism4;


    @Excel(name = "第一次上班/下班", width = 25)
    private String showFirstStatus;
    @Excel(name = "第二次上班/下班", width = 25)
    private String showSecondStatus;
    @Excel(name = "第三次上班/下班", width = 25)
    private String showThreeStatus;
    @Excel(name = "第四次上班/下班", width = 25)
    private String showFourStatus;
}
